/* photos.css - 通用图片/视频管理页面样式，可复用 */

.thumbnail {
    cursor: pointer;
    margin: 5px;
    height: 150px;
    object-fit: cover;
    width: 100%;
    border-radius: 5px;
}

.video-thumb .ratio {
    border-radius: 5px 5px 0 0;
    min-height: 90px;
}

.selected-directory {
    background-color: #f0f0f0;
}

.card.video-thumb {
    transition: box-shadow 0.2s;
}
.card.video-thumb:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#video-list .card-body, #imageGrid .card-body {
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
}

.btn[disabled], .btn.disabled {
    pointer-events: none;
    opacity: 0.65;
}

.pagination-container {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    flex-wrap: nowrap;
    margin: 0 auto;
    padding: 0;
}

.page-item.ellipsis {
    pointer-events: none;
    padding: 0.375rem 0.75rem;
}
